package cn.zhaoyuening.fanblog.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.web.filter.HttpPutFormContentFilter;

@SpringBootApplication(scanBasePackages = {"cn.zhaoyuening.fanblog.admin"})
@EntityScan(basePackages = {"cn.zhaoyuening.fanblog.common.domain"})

public class FanblogAdminApplication {

	public static void main(String[] args) {
		SpringApplication.run(FanblogAdminApplication.class, args);
	}

	@Bean
	public HttpPutFormContentFilter putFilter() {
		return new HttpPutFormContentFilter();
	}
}
